﻿@model SPA.Models.Reservation

<div class="panel-heading">
    Create Reservation
</div>
<div class="panel-body">
    @using (Html.BeginForm("Add", "Home")) {
        <div class="form-group">
            <label>Client Name</label>
            @Html.TextBoxFor(m=>m.ClientName,new { @class="form-control"})
        </div>
        <div class="form-group">
            <label>Location</label>
            @Html.TextBoxFor(m => m.Location, new { @class="form-control"})
        </div>
        <button type="submit" class="btn btn-primary">Save</button>
        @Html.ActionLink("Redirect To MVVM REST SPA", "Index", new { Controller="WebTest"},new { @class="btn btn-info"})
    }
</div>